﻿using OddUserManager.Data.IRepositories;
using OddUserManager.Model;
using OddUserManager.Service.IServices;
using System;
using System.Collections.Generic;
using System.Text;

namespace OddUserManager.Service.Services
{
    public class JCTestStrategyGroupService : IJCTestStrategyGroupService
    {
        private IJCTestStrategyGroupRepository _repository;

        public JCTestStrategyGroupService(IJCTestStrategyGroupRepository repository) {
            _repository = repository;
        }
        public List<JCTestStrategyGroup> GetAllJCTestStrategyGroups()
        {
            return _repository.GetAllJCTestStrategyGroups();
        }

        public JCTestStrategyGroup GetJCTestStrategyGroupById(int id)
        {
            return _repository.Get(id);
        }
    }
}
